package com.hxzy.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hxzy.service.SysDeptService;
import com.hxzy.mapper.SysDeptMapper;

import com.hxzy.system.dto.SysDeptSearchDTO;
import com.hxzy.system.entity.SysDept;
import com.hxzy.system.vo.SysDeptVO;
import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
* @author Administrator
* @description 针对表【sys_dept(科室信息)】的数据库操作Service实现
* @createDate 2023-03-10 11:56:11
*/
@Service
public class SysDeptServiceImpl extends ServiceImpl<SysDeptMapper, SysDept>
    implements SysDeptService{

    @Override
    public SysDept selectByPrimaryKey(Long id) {
        return this.getBaseMapper().selectByPrimaryKey(id);
    }

    @Override
    public List<SysDept> getDepts() {
        return this.getBaseMapper().getDepts();
    }

    @Override
    public List<SysDept> search(SysDeptSearchDTO searchDTO) {
        return this.getBaseMapper().search(searchDTO);
    }


}




